<template>
  <swiper>
    <swiper-item :key="index" v-for="(item,index) in banner">
      <a :href="item.link">
        <img :src="item.image" alt="">
      </a>
    </swiper-item>
  </swiper>
</template>

<script>
 import swiper from 'components/common/swiper/swiper'
 import swiperItem from 'components/common/swiper/swiperItems'

export default {
  name:'homeSwiper',
  props:{
    banner:{
      type:Array,
      
    }
  },
  components:{
    swiper,
    swiperItem
  },
  data(){
    return{
      
    }
  }

}
</script>

<style scoped>
img{
    width: 100%;
    height: 100%;
}
</style>